tools: remove systemd xenstore socket definitions
authorJuergen Gross <jgross@suse.com>
Tue, 2 Aug 2016 16:10:44 +0000 (18:10 +0200)
committerWei Liu <wei.liu2@citrix.com>
Fri, 5 Aug 2016 09:37:02 +0000 (10:37 +0100)
commit976ce01e103fc03bb3336cdbc6c951a709e285fe
treea0f3f0865df3fa71d10cbef3377a46ec129785a8
parent97323702bf101615cfdcf329913094c4cc82bf99
tools: remove systemd xenstore socket definitions

On a system with systemd the xenstore sockets are created via systemd.
Remove the related configuration files in order to be able to decide
at runtime whether the sockets should be created or not. This will
enable Xen to start xenstore either via a daemon or via a stub domain.

As the xenstore domain start program will exit after it has done its
job prepare the same behaviour to be tolerated by systemd for the
xenstore daemon by specifying the appropriate flags in the service
file.

A rerun of autogen.sh is required.

Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: David Scott <dave@recoil.org>
12 files changed:
tools/configure
tools/configure.ac
tools/hotplug/Linux/systemd/Makefile
tools/hotplug/Linux/systemd/xenstored.service.in
tools/hotplug/Linux/systemd/xenstored.socket.in [deleted file]
tools/hotplug/Linux/systemd/xenstored_ro.socket.in [deleted file]
tools/ocaml/xenstored/systemd.ml
tools/ocaml/xenstored/systemd.mli
tools/ocaml/xenstored/systemd_stubs.c
tools/ocaml/xenstored/utils.ml
tools/ocaml/xenstored/xenstored.ml
tools/xenstore/xenstored_core.c